updates to gadget modal, completed work for new gadget/config gadget