Fixing IE bug in modal, improving samples