close sidr menus if open when creating a new post