I\'m using fullcalendar angular, and I\'m tryng to select diferent modals for be open in case a value exist, but when I add the if, it does not works, and I don\'t know why: