added basic dialog window... not working properly yet