Added the close button for all inline widgets