prevent reload started from popup if alarm is in edit view