add the check of send time

use the js plugin Modal