Title of query edit form depending on edit state