Bug 904982 - [System] System reboot if CustomDialog shows with improper callbacks

It's caused by the default type of a <button> element will be 'Submit', and the Gecko will reload whole system app as browser reloading the page.