do not show cancel button if no permissions