Added a var check for add position top to entries edit