Popup: Sync style options to classes option before instantiating

Also, update classes option when style options change