removed unwanted dialog initialiser