Rename machine power dialog and add ui-page-active class to all pages