[guidialog] - fix autoclose by moveing the autoclose logic into UpdateVisibility for ensuring that getframetime returns sane values - thx to jm for the solution