added delete open menu functionality