docs: public boolean waitForDialogToClose(long timeout) {
  		waitForDialogToOpen(TIMEOUT_DIALOG_TO_CLOSE, false);
  		final long endTime = SystemClock.uptimeMillis() + timeout;
  
  		while (SystemClock.uptimeMillis() < endTime) {
  
  			if(!isDialogOpen()){
  				return true;
  			}
  			sleeper.sleep(MINISLEEP);
  		}
  		return false;
  	}