Dialog header gets cut when generating dialog through jira's javascript API

I am using jira’s javascript API to create dialog.

window.AP.dialog.create({
key: “reuse-test-authoring-dialog”,
chrome: true,
header:“Add to Test Cycle”,
width: “80%”
});
By applying above code it opens the dialog.But header of dialog gets cut. Refer attached screen shot.