Ensure user logged in before having option to post. Close dialog box after successful post.