implemented the bookmark state handling implemented in the branch feat/bookmark-components for the drawing component