Completion block is triggered before dismiss animation