Automatically sleep a MacBook when closing the lid with an external screen attached.