added AbstractDialog and fixed script path