Fixes #766 #671 Fixes bug in finding modal with dimmer name