[ui] make long dialogs scrollable