Converts any block element into a drawer element