add the sourcedialog plugin

This is just a copy and paster of the sourcedialog plugin. Very usefull.