Adding Submit Dialog functionality to detail view again.