Move common ui functions to utils
Example of binding to a `ViewModel` inside iframe