Added possibility to change default css and attributes of modal root element