Add unsaved changes notification. Corrected broken default policy checkboxes