Handle adding gadgets