Added confirmation on page unload when changed
Refactored layout and styling