GenericModal: changed ModalClass option to apply to modal-dialog element