show course detail dialog (for register course)