changed dialog plugin