Added open function to contextmenu
Added delete function in contextmenu