Add app and dlg support for Oz