dialog resize fix, page height fix, framework optimization