dialog for permalink