basis.template: fix `anim:` when defines apply
basis.ui.popup: rework popup manager (popups could has an owner now)
demo: fix source code viewer