Adapt https://github.com/sonata-project/SonataAdminBundle/pull/642 and tweak layout