Door toggle button uses ajax to post.