updates invoke to never return the function called, adds hide dimmer to modal