Daniel has one option..... the other is to define a custom "Save" button that does the saving and does not have a Close Page action.
See it like this:
if you use the standard Save button the system "under the hood" executes the equivalent of a COMMIT, followed by a conditional CLOSE PAGE (as per what Daniel points out).
a custom SAVE button allows you to have the system preforming more tricks.
Whether the page is closed after clicking a save or cancel button can be configured with the 'Close on save/cancel' property of the data view.
Hi Shahbaz, Mendix is not actually redirecting you to the homepage, rather the history of Mendix navigation works as follows:
If you would have followed the following steps the result would be different:
Of course with a custom save action linked to a microflow you could also just open another page in that flow. But essentially the close action works sort of similar like the back button in your browser.