Just leave it in for now. It is not possible for now to use this way of closing a modal, but according to the designs it should be like this. I'd like to keep it there as a reminder.