adjust edit view, modal positioning