removed unncessary dialog