move several methods from dlg; fix displayed tags not updated after editing