Implemented: submit form data from modal

Signed-off-by: Haoran <fanghaoran9054@gmail.com>