Wire the saved query

* Still missing: form validation, error management during save
Adds message when saving and deleting