Adding generic modal dialog widget - incomplete so far; expanded plugin file structure