Made reminder dialog work for qt