hide import/export button when not allowed