add mode binding for .qml files