Adding in options and closing popup when post is done.