jquery.modalDialog should only have <reference> tags at the top