Thanks.
I made the effect an INSERT_EFFECT and committed.  This works, but in my opinion the EffectDialog should take an argument like bPreviewButton, instead of taking a type argument and internally making decisions about buttons.  But this is subject to debate, and a minor point regardless.