Fixed theme chooser dialog

Thanks to Patrick.