It depends on the type of modal box you're generating. The contents of the modal box may already have been determined by the time the parent window is loaded - so if you don't refresh the parent window, the contents of the modal box won't change. This is not true for all modal boxes, but is true for many. The answer to this is to use AJAX to generate the modal box's contents on the fly.