Proper tag management in edit dialog
Tags: Adds query php