Assure that halt/reboot button can only be clicked once

there was in this branch a  commit  to add html/id to custom action elements. Through I think is correct it was not needed for this feature, so I reverted it