Made alert dialogue to add new menuitem