working query add/edit missing add/edit widget