Call form done method from API

Ticket:	#6218
(cherry picked from commit b53859347531fed83b6dba9b2f043f09453523e3)