state dialog
script runner is not a singelton