Adding dialog plugin