Fix bug with setting opts.modal