:ok: added syntax checker and fix error in dialogs controller