added dropdown style for RTL version, added modal window js/css stuff