Proper handling <button type="submit">