Added timeout so that the modal windows would be in sync and the code would know which modal window to refresh values

Reviewer: Tiff Go

Issue: none