changed dialog to modal in use cases