qtclient: readded a simple modal dialog implementation, working, but a little bit hacky