OZP-16: correcting an error in modal where options were set and persisted on the prototype instead of