Remove re-render bug from dialog trigger.