popup: split own functionality into target modifiers (close #968)

How are `_target` and `setContent` related to each other?