adjust to changed adria syntax, add file dialogs