dialog front end now working, but tests failing