Close posting modals on post submit