[ticket/11528] Handle case when config file cant be written by installer

PHPBB3-11528
[ticket/11528] Change click_submit() to accept id as param

PHPBB3-11528