fixed bug with dependencies
Issue refs #1454: done
Issue refs #1461: done
Issue refs #1460: done
Issue refs  #1422: fixed valign for inplace editors and empty template