Allow title in all popup types

I basically added a quick replace on the markup variable, so if the user adds %title% to their `markup`, it will draw off the delegated element's title attribute. It can certainly be enhanced further, but I thought it was a useful, low-hanging feature addition.