fix up the dialog at when the vncsession is closed so it shows remaining time