Fill form on ajax callback
the problem was in the way I pass submit callback. It should be like

'#submit' =&gt; array('foo_submit_callback')


ARRAY!

the less visible thing is the most visible one...