An elevator with front and rear openings should already have buttons with front and rear designations in the car, and they should have separate risers for the hall stations. They should not open both doors on a hall call. You need to have your Elevator Service look at the controller and see what the problem is.