Added cancel option and added permissions denied message