Custom widget for figures inside stories