Bookmarks modal fix

This is a fix for the bug where closing the bookmarks edit/create modal will prevent it from opening again.