3 cze 2013 - Modal windows are much easier than creating new windows in JavaScript because everything is displayed in the same window using HTML .