Added a callback after the dismiss animation was finished. 

This solves some redraw issues.