While in Hydrator, if user goes to resource center and attempts to 'Create Hydrator Pipeline', an additional modal appears that prompts either 'Batch' or 'Realtime' pipeline. When clicking on either the state of hydrator in the background changes, however the modal does not dismiss itself.
When the user selects Batch pipeline or Realtime pipeline, the modal (and the dialog box) should disappear, and you should get back to the studio. The rest of the behavior is correct.
The behavior when you're in the studio and you add a pipeline from the Cask Market also needs to be similarly fixed. In that case, all modals should be closed and the saved draft should be opened in the Studio
This PR fixes this issue: https://github.com/caskdata/cdap/pull/7639