completed the show and edit delete action of gadget