a working edit menu