[CORE][UI] fixed: dir picker shown only once even if selection cancelled