Extracted common style from Dialog

Extracted common style from Dialog which can be inherited by sub control