exit when e is pressed in post list