Made modal appear when clicking table row