I created one modal window in which I am selecting certain options from a checkbox and after confirming with OK window closes and script is further executed. Based on the selected options corresponding charts are created. Since I am loading a lot of data in a script and it takes some time I would not like to start script again and then choose other options but to reopen only the modal window and have a possibility to select other options and let script do things again. How can I do that? I would appreciate for hints and suggestions.