fix dialog size on low resolution screens