Rewritten dialog modules, other minor modifications, added divider style and colors values