ensure that correct category option is selected in the modal