added first version of dialogfactory