Replace alerts with error notification
added form validation when saving post
added post validation when updating