improve permissions dialog layout