Slow down ui.dialog tests so they pass when run with the entire suite

Issue 542