Add event to open modal