Started to code dialog plugin