Warning on logout when website is in maintenance mode now works on all buttons