src: working on dialog