Disbale create new if there are no elements.
Add create new and delete event handlers.
Library submenu click handlers.