Make Modal Window has dynamic window.