checks if a task is edited and warns you when closing the edit task view, also warns you when viewing a requirement without selecting a requirement