validate Post and don't save if there is no title