Add style, styleClass, onopen, onclose attributes