adding a null check
improvements to the edit/create alert screen