Added foreground and background properties

This allows apps to adapt the dialog to application's style