Update NewPost.php

Changed the new post page to preview the post before posting and allow editing and cancelling