tweak modal dialog