fix rotation crash in grant select dialog