added back the delete warning dialog that i accidentally deleted and also made sure pressing the archive button does not get saved until save button pressed