The Modal Dialog library that's included with RGraph is quite old and due for an update so it's going to be for the next version.
What is the Modal Dialog?
The Modal Dialog is a component that's included in the RGaph library that
allows you to easily create popup dialogs that totally cover the screen
and prevent the user from scrolling. This means that they need to be
interacted with before the user can continue. You can see the Modal Dialog in action on this page.
The Modal Dialog was originally written many years ago and has been updated a number of times over the years to try and keep it modern and up-to-date.
It's come the time, though, to totally rebuild it from scratch, improve the code and add a new, exciting features.
It undoubtedly won't be fully backwards compatible with the current version but I'll endeavour to try and make it as compatible as I can, operate the same (or at least a very similar), way and look pretty much the same. And you can always simply keep using the existing code for as long as you wish.
The new feature that I mentioned is to make confirmation and/or input boxes easy to create and operate with the Modal Dialog. The built-in JavaScript alert, confirm and prompt functions block user input when they're called and, importantly, pause the execution of your code until they're cleared.
This is not feasible when creating your own input box using a div tag, so another way to do it is to use JavaScript callback functions. This entails you giving a function to the dialog that is called when the user clicks the OK button (and one for the cancel button too).
This will enable you to create much nicer-looking dialog boxes than the alert, confirm and prompt functions provide.
SQLite Editor for PHP
On another topic, the SQLite Editor for PHP is now in its sixth beta release (which was made available quite recently) and is looking to be quite feature complete and quite stable to use. Development of it is progressing nicely and the first stable release should be along soon.