Alert currentDirectory before opening