first implementation of <ui-dimmer>