Adding Submit Dialog functionality to detail view again.

(fixing broken cherry-pick, my bad)