[ticket/11421] Correctly display submit button when needed

http://tracker.phpbb.com/browse/PHPBB3-11421