hideOnDone setting better handled