Modal windows bug is fixed.

All bugs were fixed, in addition open/collapsing speed of file element
was increased to neutralize bootstap-related rendering bug.