Use generic dialog popup on items config

Unify use of modal dialog
Make popup dialog graggable
Drop ticket flags data

Flags will be reimplemented as a separate feature.