Add test for postLink with escape false + confirm option.

Closes #4008