finish edit menu