Added a confirmation dialog to the database restore option. Fixed a glitch for the wages page.