add ajax to components saving

added ajax saving to components, ctrl-s is only active in editor still,
not global