Added error message for new/edit form