Some bugfixes. Trouble: dialog