add course dialog has back button