code improvements after JsLint
tags selection in create/edit dialog, styles improvements, code improvements