Add functioning modal on button click