Bug with modal window: now it updates only content of window.