Adding template support.
use a large dialog by default...probably need to find a way to make this setting more flexible.