feature #1664: Fix dialogs height