i have a table called RETURN_STACK.
each time a user clicks a button that opens a dialog to edit a row, i ‘push’ a link to the current page onto this stack using an AddRows() function.
so anywhere i need a ‘Close’ button, it will ‘pop’ the page link from the stack (deleting the last row) to return the user to that page where they were on previously.
its kinda like the ‘back’ button in a browser.
max