Details dialog now displays permissions changing UI, will attempt to change on exit but doesn't quite work on all directories yet. Also doesn't load the current permissions when it opens.