added an escape dialog