dialogbox bugfix