alerts error message on add page post