did some refactoring and added javadoc. Also added the possibility to reverse the colors on the dialog buttons and to even disable one or the other. This gives the possibility to create a dialog with just 1 button, like "ok".