fancyapps/fancyBox — Issue #73: Using modal ignores other params such as closeBtn=true
Author: righi
Created: 2011-12-26 03:58:56+00:00
State: open

Consider the following code:

```javascript
$.fancybox({
type: 'iframe',
href: 'http://www.jquery.com',
modal: true,
closeBtn: true
});
```

Even though closeBtn is set to true it won't display a close button because closeBtn is ignored when modal is true. (Using modal will also ignore other params such as closeClick, keys, and others.)

Right now the only alternative to creating a modal dialog that still shows the close button is to redundantly do most of what modal does for you, like this:

```javascript
$.fancybox({
type: 'iframe',
href: 'http://www.jquery.com',
closeClick: false,
nextClick : false,
arrows : false,
mouseWheel : false,
keys : null,
helpers: {
overlay : {
css: {
cursor : 'auto'
},
closeClick : false
}
}
});
```

I think it would be better if using modal still respected other settings that are passed in. This would allow developers to choose which aspects of modal they really wanted to use, and it would prevent them from having to tediously recreate most of what modal does.

Note: I'm about to make a pull request that introduces code which does this, but I wanted to create the issue first so that I'd have an issue number to reference in my commit.