- added gray disabled effect when opening dialog
- fixed relativeToMethod