I am not sure what effect a hidden modal form has but if you put a timer on it you will find that the timer is firing even though the form is not 'ACTIVE'...
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!