Execute button's block after modal is completely dismissed