private void clearInternal() {
        if (currentDialogControl != null) {
            currentDialogControl.setPauseOnDismiss(false);
        }
        closeCurrentDialog();
        currentDialogProvider = null;
        state = State.NO_DIALOG;

    }
opens currently waiting dialog in given activity
main/src/main/java/cgeo/geocaching/wherigo/WherigoDialogManager.java