I have a function that will click the button then the input form will popup and the card will show. But after clicking the button, the card will along with the popup form then w