#JC-1965: Word-break:break-all property replaced from .table
instead of it limited size of post-content cell
#JC-1690 Fixed dialog behavior in case of small screen
Added window resize event handler to recalculate the "left" property.
When dialog was created on a small screen (<480px) we just leave the
default value for the left property (10px) because the actual window
size is not calculated right in the moment we try to set the "left" property.
Also when the size of the window is less then 480px width of the
dialog is not fixed and tries to be as wide as possible
- so we have no other way but change the left
property value each time the window size has been changed.