Added check for doorbell pressed when popup appears