move the hardware page dialog into it's own file