modal dialogs: ability to separate button that triggers modal from modal definition (might be useful to prevent style inheritance)