I am trying to close a modal dialog page after changes have been made and then refresh the edit form that was underneath the modal dialog in Oracle Apex.
I tried using dynamic action to close the dialog, but it seems that the dynamic action proceeds the processing step, resulting in the data not being saved into the database after the modal dialog has closed.
modal dialog = page edit form = page
modal dialog is a pop out on the edit form
Is there a way to close the dialog, while saving the data and also refresh the edit form?
I think there is a way to also redirect to previous page but I do not know how to do that.
Yes there are many ways to close the dialog box while saving the data.
you can use the process for dialog close, process should be after your process which is saving data.
Javascript: please refer below link
http://ashishtheapexian.blogspot.in/2017/06/refresh-region-of-base-page-when.html
https://apex.oracle.com/pls/apex/f?p=1200008:15:132444785184935::NO:RP:P15_POST_ID:142