set all values for form elements from modal