Fixed confirm-button not working in firefox.