Hide replace button when on replace mode + new resize button