allow options.content to be a function returning html that is called on each open