[misc] Make sure the patient access right UI does not show up in the exported PDF