Add functionality for add diagram and close project menu items.