modal window updated in all pages