Does the directive deal with the `content` option? As I understand it transclusion is used to provide the popup directive with contents.