fix dialog layouts

Signed-off-by: constpetrov <constant.petrov@gmail.com>