Log Entries to a Lightbox database, close it, show results on underlying page

I have created a regular page with two sections. Section one has Log Entries and Section two has a text element table that shows the logged entries, including the one just created.
When you click LOG AN ENTRY button, it takes you to a lightbox where you enter the information into the database (that works well). Click the lightboxes UPDATE DATABASE button and then close the lightbox, the underlying page then shows a table of the last 10 entries.

Both are working independently, but together - things go bad.

What I can’t get is when you close the lightbox, it doesn’t produces the last entry on the table.
I figured it was a read/write thing, so I changed things around (can’t remember), but now, the entry logging doesn’t work. Somewhere, I have had no luck in getting both to work together. It seems that if I make it read only, then I can’t enter (obviously?) . If I make it read/write, my lightbox data entry stops working. I could be wrong, but somewhere in that formula, I’ve got something wrong to produce the results I desire. Seems simple enough, but after 7 hours of back and forth, no joy. HELP ;). The underlying page is password protected, so I don’t know how you can check the code. I will provide more information as requested.
Cheers

So what you want, if I am right here, is for the user to be able to submit a new record through the user form on the lightbox which is then submitted into the dataset that is displayed on the page itself. Then once the user has submitted the info and the lightbox closes, the table is then updated to show the last ten user inputs.

It seems that it is mostly set up correctly and all you need to do now is to refresh the dataset after the user input is saved.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#save
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#onAfterSave
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#refresh

You might also have to refresh the page as well by adding wixLocation.to line in your lightbox code.

wixWindow.lightbox.close();
     wixLocation.to(wixLocation.url);  //This reloads the same page