fix for refresh modal window