Function, dynamic input record

Function, dynamic input record

Hello, 

We have an educational center. 
We have a form to add presences of our students.
We have a form to add ABSENCEs of our students.

We always like to replenish the absences.

So, we have a function called "Replenish" and it is a button next to each row in the Absences view.

I would like when I push the Replenish button, a popup to appear to ask me to input the date that the specific Absence will be replenished. 

Is this possible???
Thank you.